﻿using System;
using HMIS.FrameWork;
using System.Collections.Generic;
using HMIS.Infrastructure.Core;
using HMIS.FrameWork.DomainBase;

namespace HMIS.Infrastructure.Facade
{
	public interface IDicCategoryFacade : IDomainFacade
	{
		void DeleteDicCategory(string id);
		DicCategory GetDicCategory(string id);
		DicCategory LoadDicCategory(string id);
		void SaveOrUpdate(HMIS.Infrastructure.Core.DicCategory entity);
		IList<DicCategory> GetAll();
		IList<DicCategory> QueryPlist(string query, int start, int limit, out long total);
		IList<DicCategory> GetPlist(int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		bool IsFieldExist(string fieldName, string fieldValue, string id);
	}
}
